package comxin.date;

import org.junit.Test;

import java.util.Date;

public class Datedemo1 {
    @Test
    public void method1(){
        Date date=new Date("Sat May 06 21:00:00 CST 2023");
        long time = date.getTime();
        System.out.println(date);

        long l = System.currentTimeMillis();
        System.out.println(l);
    }
}
